@echo.
@echo compiling...
@echo.

cl -I"%java_home%"\include -I"%java_home%"\include\win32 -LD avc_bitstream.cpp avc_dec.cpp avcdec_api.cpp com_centerserver_H264Player.cpp deblock.cpp dpb.cpp fmo.cpp header.cpp itrans.cpp mb_access.cpp pred_inter.cpp pred_intra.cpp reflist.cpp residual.cpp slice.cpp vlc.cpp -FeH264Decoder.dll

@echo.
@echo delete the intermediate files...
@echo. 

@del *.obj
@del *.exp

@echo.
@echo copy dll to project directory...
@echo.

@copy /-Y H264Decoder.dll  ..

@pause